home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18356 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  936 b 

  1. Path: castle.nando.net!news
  2. From: Charlie Jiang <hongjun@nando.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Why BC4.5 could not cpmpile BC3.0 program
  5. Date: 20 Apr 1996 02:26:58 GMT
  6. Organization: Wake Tech
  7. Message-ID: <4l9i1i$506@castle.nando.net>
  8. NNTP-Posting-Host: grail1417.nando.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14. Dear friend:
  15.  
  16. I have met a small problem but bothering me now. 
  17. I had a source code which I writed in BC3.0 in DOS enviroment. Now when I 
  18. try to reuse the same class object in BC4.5 in Windows enviroment, one 
  19. part of the program give me trouble.
  20.  
  21. ---the SWITCH loop.
  22. it comes out the error message like "case bypassing initialization of a 
  23. local variable in function main[]". Oh, by the way, I have put more than 
  24. one SWITCH loop in each 'case:'.
  25.  
  26. Your input will be highly appreciated.
  27.  
  28. Sincerely,
  29.  
  30.  
  31. Charlie Jiang
  32.  
  33.